/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cn.ac.iie.di.ban.news.server.speed;

/**
 *
 * @author zwlin
 */
public interface SpeedLimiter {

	public boolean tryGetThrough(String key);

	public void waitGetThrough(String key);

	public void start();

	public void stop();

	public boolean isActivated();
}
